package com.cn.dubbo.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.cn.dubbo.service.HelloService;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author whb
 * @create 2021-03-19 10:35
 */
@Service(loadbalance = "random",interfaceClass = HelloService.class)
@Transactional
public class HelloServcieImpl implements HelloService {
    @Override
    public String helloDubbo(String name) {
        return "Dubbo port8085 welcome:" + name;
    }
}
